autogen.sh: rely on VPATH for submodules' Makefile-*.am.inc
authorSimon McVittie <smcv@debian.org>
Sun, 12 Jun 2016 09:31:29 +0000 (10:31 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 13 Jun 2016 00:23:03 +0000 (00:23 +0000)
commitc930eefeeada9a9a820d650fcc3481709d9d070b
tree6ff14f1796d87df36a43b4c2b4cb682456e2e115
parentb9e18b83fd195c980c5dffab4bedf3fa79b19a2e
autogen.sh: rely on VPATH for submodules' Makefile-*.am.inc

This avoids hard-coding the autogen-time ${srcdir} into our build
system, and might fix "make distcheck".

We don't need to specify ${srcdir} explicitly in the various variables,
because Automake always uses make's VPATH feature to look in both
${builddir} and ${srcdir} at build time.

Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #337
Approved by: cgwalters
autogen.sh